package hr_project.hr.biz.Dept;

import java.util.List;

import hr_project.hr.entity.Department;
import hr_project.hr.util.pagebean;

public interface IDeptBiz {

	    //查看所有部门
		public List<Department> getAll();
		
		//获取一个
		public Department getByid(long id);
		
		//增加
		public void addDept(Department dept);
		
		//修改部门
		public void modDept(Department dept);
		
		//删除部门
		public void delDept(long id);
		//获取所有非正常状态下的部门
		public List<Department> getAllNotnormal();
		
		//分页
		public pagebean getAllBypage(int page);
}
